package homework;

public class ShopTest {
	public static void main(String[] args){
		ShoppingCart shop = new ShoppingCart();
		shop.addItem("00", "a", 2.0, 5.0);
		shop.addItem("01", "dd", 2.0, 6.0);
		shop.addItem("02", "cc", 5.0, 9.0);
		System.out.println(shop.getTotalPrice());
		shop.addItem("00", "a", 2.0, 3.0);
		System.out.println(shop.getTotalPrice());
		shop.editCart("00", 1.0);
		shop.delCart("00");
		System.out.println(shop.getTotalPrice());
		System.out.println(shop.getAllCarts());
	}
}
